package com.hl.service;

import com.hl.pojo.Article;

import java.util.List;

public interface ArticleService {
    Integer add(Article article);
    Integer del(Integer id);
    List<Article> findAll();
    List<Article> findByName(Article article);
    List<Article> findByCategory(Integer categoryId);
    List<Article> findByConsultantId(Integer consultantId);
    Integer update(Article article);
}
